Get
Function
This API is used to get the parameters of the Appearance Frequency page.
Request Message
None.
Sample:
POST /API/AI/AppearanceFrequency/Get HTTP/1.1
{
"version": "1.0",
"data": {}
}
Response Message
See AI > Recongnition > Appearance Frequency > Range > Table 1 for parameter description.
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {
"group_info_list": [
{
"name": "Allowed",
"group_id": 2,
"is_selected": true
},
{
"name": "Forbidden",
"group_id": 3,
"is_selected": true
},
{
"name": "Stranger",
"group_id": 4,
"is_selected": true
}
],
"channel": [],
"frequency_interval": 30,
"similarity": 70,
"max_statistics": 5000,
"alarm_switch": false,
"age_filter_switch": false,
"alarm_min_age": 18,
"frequency_threshold_value": 2,
"cycle": 30,
"buzzer": false,
"io_output": false,
"alarm_out": [],
"voice_prompts": false,
"voice_prompts_index": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"voice_prompts_select": [
1,
0
],
"voice_prompts_speaker_select": [
1,
0
],
"voice_prompts_speaker_select": [0],
"voice_prompts_time": [
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
},
{
"start_hour": 0,
"start_minute": 0,
"start_second": 0,
"end_hour": 23,
"end_minute": 59,
"end_second": 59
}
]
}
}
Error Code
See Response Messages Body and Common error_code for more information.